package com.xzx.car_accessories.service;

import com.xzx.car_accessories.domain.CarAccessory;
import com.xzx.car_accessories.domain.Inventory;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author: geeshaw
 * @date: 2021/7/13 23:50
 * @email: shaw@bupt.edu.cn
 * @desc:
 **/

@Service
public interface InventoryService {
    /**
     * 分页模糊f搜索汽车配件出库入库信息
     */
    List<Inventory> search_findpage_accessory(int pageNum, int pageSize, String searchWord);
    /**
     * 模糊搜索汽车配件出库入库信息
     */
    List<Inventory> search_accessory(String searchWord);
    /**
     * 入库操作
     */
    int inbound(long cid, int num);

    /**
     * 出库操作
     */
    int outbound(long cid, int num);

    public List<Map<String, String>> staticInfo();
}
